/*
** $Id: swin_xaux_so.c,v 1.4 2002/09/11 06:34:31 abelcheung Exp $
*/

/* define Aux classes */
#define		AUX_CLASS_MAX	2

#include <sys/types.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include "iiimpAux.h"
#include "xaux_common.h"
#include "xaux_so_common.h"
#include "unihan_xaux.h"

extern aux_method_t xaux_so_methods;

static const CARD16     aux_utfname_status[] = {
                        'c','o','m','.','s','w','-','l','i','n','u','x','.',
                        'u','n','i','h','a','n','2','.',
                        'S','t','a','t','u','s','A','u','x',
};
static const CARD16     aux_utfname_lookup[] = {
			'c','o','m','.','s','w','-','l','i','n','u','x','.',
                        'u','n','i','h','a','n','2','.',
			'L','o','o','k','u','p','A','u','x',
};

xaux_class_t xaux_classes[AUX_CLASS_MAX + 1] = {
	{
		AUX_STATUS_CLASS_NAME, 1,
		UNIHAN_XAUX_DIR "/XIM/xaux_ext_status",
		(Window)0, (Window)0,
		(Atom)0, (Atom)0, (Atom)0, { (Atom)0 }, 0, { (Atom)0 }, 0,
		aux_utfname_status,
	},
	{
		NULL, -1,
		NULL,
		(Window)0, (Window)0,
		(Atom)0, (Atom)0, (Atom)0, { (Atom)0 }, 0, { (Atom)0 }, 0,
		NULL,
	}
};

aux_dir_t aux_dir[AUX_CLASS_MAX + 1] = {
	{
		{
			sizeof (aux_utfname_status),
			(CARD16 *)aux_utfname_status,
		},
		&xaux_so_methods,
	},
	{ {0, NULL}, NULL }
};
